package com.example.server.mapper;

import com.example.server.entity.Rating;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface RatingMapper {

    void insertRating(Rating rating);

    void updateOverallRating(int idbook);
}
